/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.lcfgly.Exception;

import org.apache.log4j.Logger;

/**
 *
 * @author lcfgly
 */
public class ActionException extends Exception{

    private final Logger log=Logger.getLogger("ActionException");
    
    public ActionException() {}

    @Override
    public Throwable fillInStackTrace() {
        return this;
    }

    public ActionException(String message) {
        super(message);
        log.debug(message);
    }

    public ActionException(String message, Throwable cause) {
        super(message, cause);
        log.debug(message, cause);
    }

    public ActionException(Throwable cause) {
        super(cause);
        log.debug(cause);
    }
    
}
